export default {
  state: {
    layoutType: "layoutB",
  },
  getters: {
    getLayoutType(state) {
      const layoutType = localStorage.getItem("layoutType") || state.layoutType;
      return layoutType;
    },
  },
  mutations: {
    setLayoutType(state, layoutType) {
      state.layoutType = layoutType;
      localStorage.setItem("layoutType", layoutType);
    },
  },
};
